var a = [1,2,3,5,6];
console.log(a.length);

var b = [2,5,7,4];
b.length = 8;
console.log(b);

var c = [1,54,2354];
console.log(c.indexOf(54));
console.log(c.indexOf(4654));

var d = [1,2,3,4,5];
console.log(d.slice(0,2));
console.log(d.slice(1));

var e = [456,684,'sanbing'];
var eCopy = e.slice();
console.log(eCopy);

var f = [46,8478];
f.push(12,45);
console.log(f);

var g = [45,84,'sad'];
g.pop();
console.log(g);